package com.lqm.mall.coupon;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 看官方文档
 * 动态刷新获取配置
 * 加@RefreshScope注解
 * 在properties文件中进行配置，如bootstrap.properties,application.properties
 * 使用命名空间进行隔离
 */



@EnableDiscoveryClient
@MapperScan("com.lqm.mall.coupon.dao")
@SpringBootApplication
public class MallCouponApplication {

    public static void main(String[] args) {
        SpringApplication.run(MallCouponApplication.class, args);
    }

}
